//
//  YingshizhongxinxiangqingViewController.m
//  YSZC
//
//  Created by 张斌 on 16/4/22.
//  Copyright © 2016年 YueShiKeJi. All rights reserved.
//

#import "YingshizhongxinxiangqingViewController.h"
#import "Toolbar.h"
#import "UMSocial.h"

@interface YingshizhongxinxiangqingViewController ()<UMSocialUIDelegate>

@end

@implementation YingshizhongxinxiangqingViewController
- (IBAction)pinglunbtnclick:(id)sender {
    //弹出键盘，并且修改键盘的inputView
    [self.view becomeFirstResponder];
    
//    self.inputView= [[UISwitch alloc] init];
}
- (IBAction)sharebtnclick:(UIButton *)sender {
    [UMSocialSnsService presentSnsIconSheetView:self
                                         appKey:@"57296dcae0f55a163700001a"
                                      shareText:@"只要斌哥在，世界充满爱"
                                     shareImage:[UIImage imageNamed:@"yinhang"]
                                shareToSnsNames:[NSArray arrayWithObjects:UMShareToWechatSession,UMShareToQQ,UMShareToSina,nil]
                                       delegate:self];
    
//    [[UMSocialDataService defaultDataService]  postSNSWithTypes:@[UMShareToQQ] content:@"友盟社会化分享让您快速实现分享等社会化功能，http://umeng.com/social" image:nil location:nil urlResource:nil presentedController:self completion:^(UMSocialResponseEntity *response){
//        if (response.responseCode == UMSResponseCodeSuccess) {
//            NSLog(@"分享成功！");
//        }
//    }];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"影视中心详情";
    // Do any additional setup after loading the view.
//    Toolbar * toolbar = [[Toolbar alloc] init];
//    
//    [self.view addSubview:toolbar];
//    toolbar.frame = CGRectMake(0, self.view.bounds.size.height-44, self.view.bounds.size.width, 44);
    
    
}


@end
